Last updated: 2021-10-14

Checks: 6 1

Knit directory: ABRPweb/

This reproducible R Markdown analysis was created with workflowr (version 1.6.2). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


The R Markdown file has unstaged changes. To know which version of the R Markdown file created these results, you’ll want to first commit it to the Git repo. If you’re still working on the analysis, you can ignore this warning. When you’re finished, you can run wflow_publish to commit the R Markdown file and build the HTML.

Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.

The command set.seed(20210616) was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.

Great job! Recording the operating system, R version, and package versions is critical for reproducibility.

Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.

Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version 12d2503. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .Rproj.user/

Unstaged changes:
    Modified:   analysis/herbData.Rmd
    Modified:   data/perGrass.csv
    Modified:   toDoNotes.Rmd

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/herbData.Rmd) and HTML (docs/herbData.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
html 0970d10 rswaty 2021-10-13 “final”? files :)
Rmd 1e12644 rswaty 2021-10-13 finalizing datasets
Rmd 344c49e rswaty 2021-10-13 added perGrass compiled PDF, fixed perGrass
html 9441ffc rswaty 2021-08-02 Build site.
html dea6157 rswaty 2021-08-02 Build site.
html 45666af rswaty 2021-08-02 Build site.
Rmd 527bb38 rswaty 2021-08-02 Added herb and LANDFIRE pages

Herbaceous Data

Data cleaning notes

  • All cleaned Herbaceous data saved as “herbWU.csv”
  • For Perennial Grasses, that data was copied and pasted into a new spreadsheet, “perGrass.csv”. Used Pivot Table to create this new spreadsheet.
  • Assumed “99999” meant “no data”. Changed to “NA”. Looks like (at least for some years) only one quadrat was sampled for % PG, % WP, % OP, % LI AND % BG.
  • Did nothing with blank cells.
  • Deleted rows with AVERAGES
    • Bull-dozing happened (instead of fire?) for MONYEAR 2007, B-Ps 7_8, 7_7, 7_6, and 7_4. Did not transfer this information to LASTBURNYEAR (but is is in LASTBURN column). Swaty did not want to mix numerical and text data types in the LASTBURNYEAR column.
  • In perGrass.csv:
    • deleted 21_4 data for 2001
    • deleted 40_10 data for 1998
    • recalculated average and standard dev for 2010, BP 7_1
    • fixed missing years for BP 7_1
    • recalculated average and st. deviation for 40_2 (there were multiples)

Perennial Grass Data Table

The cleaned Perennial data is served up below.



All Herbaceious Data Table

The cleaned Perennial data is served up below.



Number of observations variable over time


sessionInfo()
R version 3.6.2 (2019-12-12)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19043)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252 
[2] LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] ggforce_0.3.3        plotly_4.10.0        crosstalk_1.1.1.9000
 [4] DT_0.19              ggtext_0.1.1         ggsci_2.9           
 [7] forcats_0.5.1        stringr_1.4.0        dplyr_1.0.6         
[10] purrr_0.3.4          readr_1.4.0          tidyr_1.1.3         
[13] tibble_3.1.1         ggplot2_3.3.5        tidyverse_1.3.1     

loaded via a namespace (and not attached):
 [1] fs_1.5.0          lubridate_1.7.10  httr_1.4.2        rprojroot_2.0.2  
 [5] tools_3.6.2       backports_1.2.1   bslib_0.2.4       utf8_1.2.1       
 [9] R6_2.5.1          DBI_1.1.1         lazyeval_0.2.2    colorspace_2.0-1 
[13] withr_2.4.2       tidyselect_1.1.1  compiler_3.6.2    git2r_0.28.0     
[17] cli_3.0.1         rvest_1.0.1       pacman_0.5.1      xml2_1.3.2       
[21] labeling_0.4.2    sass_0.4.0        scales_1.1.1      digest_0.6.27    
[25] rmarkdown_2.11    pkgconfig_2.0.3   htmltools_0.5.1.1 highr_0.9        
[29] dbplyr_2.1.1      fastmap_1.1.0     htmlwidgets_1.5.4 rlang_0.4.10     
[33] readxl_1.3.1      rstudioapi_0.13   shiny_1.6.0       jquerylib_0.1.4  
[37] generics_0.1.0    farver_2.1.0      jsonlite_1.7.2    magrittr_2.0.1   
[41] Rcpp_1.0.6        munsell_0.5.0     fansi_0.4.2       lifecycle_1.0.1  
[45] stringi_1.6.1     whisker_0.4       yaml_2.2.1        MASS_7.3-54      
[49] grid_3.6.2        promises_1.2.0.1  crayon_1.4.1      haven_2.4.1      
[53] gridtext_0.1.4    hms_1.1.1         knitr_1.36        pillar_1.6.3     
[57] reprex_2.0.1      glue_1.4.2        evaluate_0.14     data.table_1.14.0
[61] modelr_0.1.8      vctrs_0.3.8       tweenr_1.0.2      httpuv_1.6.1     
[65] cellranger_1.1.0  gtable_0.3.0      polyclip_1.10-0   assertthat_0.2.1 
[69] xfun_0.22         mime_0.10         xtable_1.8-4      broom_0.7.9      
[73] later_1.2.0       viridisLite_0.4.0 workflowr_1.6.2   ellipsis_0.3.2